package org.zuel.boot.demo.constant;

/**
 * @Description:
 * @Author: Athrun
 * @Date: 2020/11/26
 * @Version 1.0
 */
public class UserConstant {

    // 用户性别
    public static final Integer USER_SEX_UNKONWN = 0;
    public static final Integer USER_SEX_MALE = 1;
    public static final Integer USER_SEX_FEMALE = 2;

    // 用户名已存在
    public static final int USERNAME_EXIST_CODE = 1001;
    public static final String USERNAME_EXIST_ERROR = "用户名已存在";

    // 用户名不存在
    public static final int USERNAME_NOT_EXIST_CODE = 1002;
    public static final String USERNAME_NOT_EXIST_ERROR = "用户名不存在";

    // 账号或密码错误
    public static final int USER_INVALID_CODE = 1003;
    public static final String USER_INVALID_ERROR = "账号或密码错误";


}
